
import { Injectable } from '@angular/core';
import { HttpClientService } from 'src/app/common/services/httpClient/http';

@Injectable({
    providedIn: 'root'
})
export class TableService {

    constructor(private http: HttpClientService) { };

    listApi(data: any) {

        let url = "https://api.randomuser.me/?" + data;
        return this.http.get(url);
    }

}